package com.itheima.homework.homework6;

public class Test6 {
    public static void main(String[] args) {
        BaseTeacher baseTeacher=new BaseTeacher("张三老师",23);
        WorkTeacher workTeacher=new WorkTeacher("李四老师",24);
        baseTeacher.show();
        baseTeacher.teach();
        workTeacher.show();
        workTeacher.teach();
    }
}
